﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using S_Gridding.Domains.BasicData;

namespace S_Gridding.Api.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class TeskELKsController : ControllerBase
    {
        private readonly ILogger<TeskELKsController> _logger;

        public TeskELKsController(ILogger<TeskELKsController> logger)
        {
            _logger = logger;
        }

        [HttpGet]
        public IActionResult Test()
        {
            try
            {
                MeshTypeInfo info = null;
                info.MeshTypeName = "test";
                return Ok();
            }
            catch (Exception)
            {
                _logger.LogError("执行李树磊任务时发生错误");
                throw;
            }
        }
    }
}
